﻿using iMES.Basedata.IRepository.Basicdata;
using iMES.Basedata.IServices;
using iMES.Core.BaseProvider;
using iMES.Core.Extensions.AutofacManager;
using iMES.Entity.DomainModels;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Text;

namespace iMES.Basedata.Services
{
    public partial class Basicdata_ProcessListService
    {
        private readonly IHttpContextAccessor _httpContextAccessor;
        private readonly IBasicdata_ProcessListRepository _repository;//访问数据库

        [ActivatorUtilitiesConstructor]
        public Basicdata_ProcessListService(
            IBasicdata_ProcessListRepository dbRepository,
            IHttpContextAccessor httpContextAccessor
            )
        : base(dbRepository)
        {
            _httpContextAccessor = httpContextAccessor;
            _repository = dbRepository;
            //多租户会用到这init代码，其他情况可以不用
            //base.Init(dbRepository);
        }
    }
}
